﻿<%@ Page CodeFileBaseClass="AliCMS.Lib.MultiUserAdminPageBase" %>
<section data-page="channel_add" data-title="添加栏目">
	<div class="path1"><span>您的位置：</span>添加栏目</div>
	<form action="" class="post">
		<div class="post-body">
			<table class="post-table">
				<tr>
					<th>名称：</th>
					<td><input type="text" name="Name" size="60" maxlength="255" class="ali-input ali-input-required <%=ContentLang%>Font"></td>
				</tr>
				<tr>
					<th>路径：</th>
					<td><span><input type="text" name="Path" size="60" maxlength="255" class="ali-input ali-input-required <%=ContentLang%>Font"> 不能以斜杠（/）开头，必须以斜杠（/）结束。</span> <label><input type="checkbox" name="Home">设为首页</label></td>
				</tr>
				<tr>
					<th>上级：</th>
					<td>
						<select name="ParentID" class="<%=ContentLang%>Font" data-ali-widget="combo" data-tree="true" data-root="0">
							<option value="" data-item="" data-parent="0">未指定</option>
							<ali:Tree Object="Channel">
								<ali:Record>
									<option value="<%=ID%>" data-path="<%=Path%>" data-instance-id="<%=InstanceID%>" data-sub-instance-id="<%=ChannelSubInstanceID%>" data-item="<%=ParentChain%>.<%=InnerID%>" data-parent="<%=ParentChain%>"><%=Name%></option>
									<%=ChildRecords%>
								</ali:Record>
							</ali:Tree>
						</select>
					</td>
				</tr>
				<tr>
					<th>数据：</th>
					<td>
						<select name="Instance" class="<%=ContentLang%>Font" data-ali-widget="combo">
							<option value="" data-sub-instance-id="" data-namespace="">未指定</option>
							<ali:List Source="AllSubInstances">
								<ali:Record>
									<option value="<%=[0]%>" data-sub-instance-id="<%=[3]%>" data-namespace="<%=[2]%>"><%=[1]%> - <%=[4]%></option>
								</ali:Record>
							</ali:List>
						</select>
					</td>
				</tr>
				<tr>
					<th>模板：</th>
					<td>
						<select name="Template" class="<%=ContentLang%>Font" data-ali-widget="combo"></select><br>
						<img style="width:180px;height:300px">
					</td>
				</tr>
				<tr>
					<th>栏目绑定：</th>
					<td></td>
				</tr>
				<tr>
					<th>搜索引擎优化：</th>
					<td>
						页面关键字：<input type="text" name="MetaKeywords" size="40" maxlength="255" class="ali-input <%=ContentLang%>Font">
						页面描述：<input type="text" name="MetaDescription" size="40" maxlength="255" class="ali-input <%=ContentLang%>Font">
					</td>
				</tr>
			</table>
		</div>
		<div class="post-footer"><button type="submit" class="ali-button">保 存</button></div>
	</form>
</section>